/* utils/map.js */
// 地图相关
module.exports = {
  // 地图部分参数

  // 腾讯位置服务API
  mapKey: "G2PBZ-ADQCV-GE5P2-54ZVO-F7W2J-G6B5J",

  // 学校精确坐标（用于地图定位和获取天气数据）
  longitude: '108.450629',
  latitude: '22.752425',

  // 是否展示 POI 点
  enablepoi: false,
  // 是否显示带有方向的当前定位点
  showLocation: true,
  // 缩放级别
  scale: 16.1,
  // 最小缩放级别，比缩放级别小0.1-0.2为宜
  minscale: 16,

  // 自定义图层
  groundoverlay: {
    // 图层透明度 0-1
    opacity: 0.8,
    // 西南角
    southwest_latitude:  22.742558,
    southwest_longitude: 108.44737,
    // 东北角
    northeast_latitude: 22.755843,
    northeast_longitude: 108.460523,
  },

  // 地图边界
  boundary: {
    // 西南角
    southwest_latitude: 22.742558,
    southwest_longitude:108.44737,
    // 东北角
    northeast_latitude:22.755843,
    northeast_longitude:108.460523,
  },

  // 学校边界
  school_boundary: {
    // 东（学校最东端的 经度）
    east: 108.461484,
    // 西（学校最东端的 经度）
    west: 108.438045,
    // 南（学校最东端的 纬度）
    south: 22.737221 ,
    // 北（学校最东端的 纬度）
    north: 22.759889,
  },

  // 默认地点
  default_point: {
    name: "南门",
    aliases: "学校正大门",
    img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/轮播图/p1.jpg",
    desc: "学校正大门\n可以通行行人和车辆",
    latitude: '22.745722',
    longitude: '108.45133',
  },

  // 地点数据（使用嵌套列表存储）
  site_data: [{
      id: 1,
      name: "楼宇",
      list: [{
          id: 1,
          name: "敷文园A",
          aliases: "1、2、3区 公共教学楼",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/教学楼/敷文园A.png",
          desc: "",
          latitude: '22.747147',
          longitude: '108.452129',
        },
        {
          id: 2,
          name: "敷文园B",
          aliases: "6区 教音 | 设计 | 传媒",
          img: 
          "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/教学楼/敷文园B.jpg",
          desc: "",
          latitude: '22.747637',
          longitude: '108.452723',
        },
        {
          id: 3,
          name: "敷文园C",
          aliases: "敷文园C",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/教学楼/敷文园C.jpg",
          desc: "",
          latitude: '22.747447',
          longitude: '108.450621',
        },
        {
          id: 4,
          name: "敷文园D",
          aliases: "敷文园D",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/教学楼/敷文园D.jpg",
          desc: "",
          latitude: '22.74799',
          longitude: '108.45065',
        },
        {
          id: 5,
          name: "敷文园E",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/教学楼/敷文园E.jpg",
          desc: "敷文园E所在地",
          latitude: '22.748642',
          longitude: '108.45055',
        },
        {
          id: 6,
          name: "敷文园F",
          aliases: "敷文园F",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/教学楼/敷文园F.jpg",
          desc: "敷文园F所在地",
          latitude: '22.749278',
          longitude: '108.450579',
        },
      ]
    },
    {
      id: 2,
      name: "图书馆",
      list: [{
          id: 1,
          name: "图书馆",
          aliases: "阅览室",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/图书馆/图书馆.jpg",
          desc: "距离宿舍最近的阅览室",
          latitude: '22.749377',
          longitude: '108.452126',
        },

      ]
    },
    {
      id: 3,
      name: "二级学院",
      list: [{
          id: 1,
          name: "高博",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/人工智能与软件学院.jpg",
          desc: "",
          latitude: '22.752288',
          longitude: '108.450591',
        },
        {
          id: 2,
          name: "交通学院",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/交通学院.jpg",
          desc: "",
          latitude: '22.750651',
          longitude: '108.449645',
        },
        {
          id: 3,
          name: "信息工程学院",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/信息工程学院.png",
          desc: "",
          latitude: '22.747437',
          longitude: '108.449493',
        },
        {
          id: 4,
          name: "南硅谷B",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/南硅谷B.png",
          desc: "",
          latitude: '22.748134',
          longitude: '108.449493',
        },
        {
          id: 5,
          name: "南硅谷C",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/南硅谷C.jpg",
          desc: "",
          latitude: '22.748962',
          longitude: '108.449557',
        },
        {
          id: 6,
          name: "土木学院",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/土木学院.jpg",
          desc: "",
          latitude: '22.749595',
          longitude: '108.449584',
        },
        {
          id: 7,
          name: "在建教学楼",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/在建教学楼.jpg",
          desc: "建设中",
          latitude: '22.751825',
          longitude: '108.449627',
        },
        {
          id: 8,
          name: "数字经济学院",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/数字经济学院.png",
          desc: "",
          latitude: '22.753649',
          longitude: '108.451314',
        },
        {
          id: 9,
          name: "智能制造学院",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/智能制造学院.png",
          desc: "讯飞楼一楼左侧",
          latitude: '22.753647',
          longitude: '108.452753',
        },
        {
          id: 10,
          name: "继续教育学院",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/继续教育学院.png",
          desc: "",
          latitude: '22.753427',
          longitude: '108.450358',
        },
        {
          id: 10,
          name: "讯飞楼",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/讯飞楼.png",
          desc: "嘉善楼最西侧一楼",
          latitude: '22.753798',
          longitude: ',108.453244',
        },
      ]
    },
    {
      id: 4,
      name: "校门",
      list: [{
          id: 1,
          name: "南门",
          aliases: "学校正大门",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/轮播图/p1.jpg",
          desc: "学校正大门\n可以通行行人和车辆",
          latitude: '22.745722',
          longitude: '108.45133',
        },
        {
          id: 2,
          name: "北门",
          aliases: "学校侧门",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/轮播图/北门.jpg",
          desc: "学校侧门（\n能通行行人，能通行车辆",
          latitude: '22.753574',
          longitude: '108.45369',
        },
      ]
    },
    {
      id: 5,
      name: "会议厅",
      list: [{
          id: 1,
          name: "图书馆会议厅",
          aliases: "大讲堂",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/学生演绎中心/图书馆报告大厅.png",
          desc: "会议厅",
          latitude: '22.749148',
          longitude: '108.452132',
        },
        {
          id: 1,
          name: "图书馆会议厅",
          aliases: "大讲堂",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/学生演绎中心/图书馆报告大厅.png",
          desc: "会议厅",
          latitude: '22.749148',
          longitude: '108.452132',
        },
        {
          id: 2,
          name: "演艺中心",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/学生演绎中心/学生演义中心.png",
          desc: "",
          latitude: '22.74605',
          longitude: '108.453717',
        },
      ]
    },
    {
      id: 6,
      name: "体育场馆",
      list: [{
          id: 1,
          name: "体育馆",
          aliases: "室内运动",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/体育馆/体育馆.jpg",
          desc: "学生运动的好去处",
          latitude: '22.750779',
          longitude: '108.451853',
        },
     
      ]
    },
    {
      id: 7,
      name: "广场",
      list: [{
          id: 1,
          name: "广场",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/体育馆/体育馆.jpg",
          desc: "",
          latitude: '22.750275',
          longitude: '108.451844',
        },

      ]
    },
  
    {
      id: 10,
      name: "学生服务",
      list: [{
          id: 1,
          name: "卫生所",
          aliases: "医务室",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/体育馆/体育馆.jpg",
          desc: "记得戴口罩哦，如果去医院记得弄清报销材料和流程",
          latitude: '22.750545',
          longitude: '108.452121',
        },
        {
          id: 2,
          name: "学生活动中心",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/学生演绎中心/学生活动中心.png",
          desc: "",
          latitude: '22.750945',
          longitude: '108.453359',
        },
        {
          id: 3,
          name: "大学生创新创业园",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/二级学院/南硅谷B.png",
          desc: "这里曾经非常热闹",
          latitude: '22.747484',
          longitude: '108.449023',
        },
   
      ]
    },
  
    {
      id: 11,
      name: "宿舍公寓",
      list: [{
          id: 1,
          name: "卧龙岗1",
          aliases: "男生宿舍楼",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/宿舍楼/学生宿舍楼1.png",
          desc: "",
          latitude: '22.7469',
          longitude: '108.453907',
        },
        {
          id: 2,
          name: "卧龙岗2",
          aliases: "男生宿舍楼",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/宿舍楼/学生宿舍楼2.png",
          desc: "",
          latitude: '22.751159',
          longitude: '108.454286',
        },
        {
          id: 3,
          name: "卧龙岗11",
          aliases: "女生宿舍楼",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/宿舍楼/11栋.png",
          desc: "",
          latitude: '22.747702',
          longitude: '108.455862',
        },
        {
          id: 4,
          name: "卧龙岗12",
          aliases: "女生宿舍楼",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/宿舍楼/12栋.png",
          desc: "快递点就在对面",
          latitude: '22.748122',
          longitude: '108.455817',
        },
        {
          id: 5,
          name: "西席苑",
          aliases: "宿舍楼",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/宿舍楼/西席苑.png",
          desc: "",
          latitude: '22.747195',
          longitude: '108.453834',
        },
  
      ]
    },
    {
      id: 12,
      name: "行政楼",
      list: [{
          id: 1,
          name: "行政楼",
          aliases: "",
          img: "https://mp-1e422adf-3fe6-4ce7-a11e-40a74bec715e.cdn.bspapp.com/行政楼/行政楼.jpg",
          desc: "",
          latitude: '22.746175',
          longitude: '108.450782',
        },
        
      ]
    },
  ]

}